import com.saxon.pojo.Student;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Mytest {
    public static void main (String[] args) {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext ("applicationContext.xml");
        Student student = (Student)context.getBean ("student");
        System.out.println (student);
    }
}
